package Lab2.Exc3;

import java.time.LocalDate;

public class Employee extends Person {
    private String office;
    private String salarry;
    private LocalDate hireDate;

    public Employee(){}

    public Employee(String name){
        super(name);
    }

    @Override
    public String toString(){
        return "Class: Employee, name: "+this.getName();
    }
}
